jade.content.abs
Class AbsHelper
java.lang.Object
|
+--jade.content.abs.AbsHelper
- public class AbsHelper
- extends java.lang.Object
- Author:
- Federico Bergenti - Universita` di Parma
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AbsHelper
public AbsHelper()
toListObject
public static List toListObject(AbsAggregate aggregate,
FullOntology onto)
throws OntologyException
- Converts to a
List using the specified ontology.
- Parameters:
onto - the ontology- Returns:
- the list
- Throws:
- OntologyException -
fromObject
public static AbsAggregate fromObject(List obj,
FullOntology onto)
throws OntologyException
- Converts a
List into a AbsAggregate using
the specified ontology.
- Parameters:
obj - the Listonto - the ontology.- Returns:
- the abstract descriptor.
- Throws:
- OntologyException -
fromObject
public static AbsAggregate fromObject(Iterator obj,
FullOntology onto)
throws OntologyException
- Converts an
Iterator into a AbsAggregate using
the specified ontology.
- Parameters:
obj - the Iteratoronto - the ontology.- Returns:
- the abstract descriptor.
- Throws:
- OntologyException -
toAIDObject
public static AID toAIDObject(AbsAID aid,
FullOntology onto)
throws OntologyException
- Converts to an
AID using the specified ontology.
- Parameters:
onto - the ontology- Returns:
- the AID
- Throws:
- OntologyException -
fromObject
public static AbsAID fromObject(AID obj,
FullOntology onto)
throws OntologyException
- Converts an
AID into a AbsAggregate using
the specified ontology.
- Parameters:
obj - the AIDonto - the ontology.- Returns:
- the abstract descriptor.
- Throws:
- OntologyException -
toListObject
public static List toListObject(AbsContentElementList abs,
FullOntology onto)
throws OntologyException
- Converts to a
List using a specified ontology.
- Parameters:
onto - the ontology- Returns:
- the
List - Throws:
- OntologyException -
fromContentElementListObject
public static AbsContentElementList fromContentElementListObject(List obj,
FullOntology onto)
throws OntologyException
- Converts to an abstract descriptor using the specified ontology.
- Parameters:
obj - the List to convert.onto - the ontology to use for the conversion.- Returns:
- the abstract descriptor.
- Throws:
- OntologyException -